regular lockups with VM_L2_PROTECTION_FAULT_STATUS
https://bugs.freedesktop.org/show_bug.cgi?id=104192
Bug ID: 104192
Summary: [amdgpu][VEGA10] regular lockups with
VM_L2_PROTECTION_FAULT_STATUS
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
i have been having somewhat unreproduceable lockups with my rx 56 vega all going from 4.12 amd-staging up until 4.15-rc2 where its mainlined. but for some reason i can reproduce it now with simply just open pavucontrol, and weirdly enough only that.
i can properly play games, dirt rally, cs:go, run benchmarks or just leave the computer on for days. but as fast as i open pavucontrol it lockups and this happends in dmesg. and i dont seem to be all alone with it either, here is a user with a rx 64 vega on archlinux having same issue/errors.
https://bbs.archlinux.org/viewtopic.php?id=232519
amdgpu 0000:03:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00000000
amdgpu 0000:03:00.0: at page 0x0000000000000000 from 27
amdgpu 0000:03:00.0: [gfxhub] VMC page fault (src_id:0 ring:171 vm_id:4 pas_id:0)
System info:
Radeon RX Vega (VEGA10 / DRM 3.23.0 / 4.15.0-rc2-mainline, LLVM 6.0.0) Mesa 17.4.0-devel (git-4c7af87fb9)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #1 from [email protected] ---
I've ran into this bug, can you confirm this fixes it and is the same issue?
I downgraded mesa-git to 109de3049d. I believe anything before Oct. 26th works for me. 3ba973fe37 breaks but that's all the way at Oct. 30th. I haven't binary searched yet to find the offending commit.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #2 from [email protected] ---
Alright I figured it out for me, there was a regression in llvm/clang which was giving me protection faults. I rolled back my llvm a week and built mesa with it and it works fine now.
Hope that helps people. I'll continue looking into what caused it
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #3 from Tom Englund <[email protected]> --- (In reply to ejr.phone from comment #2)
Quoted 5 lines
Alright I figured it out for me, there was a regression in llvm/clang which was giving me protection faults. I rolled back my llvm a week and built mesa with it and it works fine now.
Hope that helps people. I'll continue looking into what caused it
yeah was just about to say it still froze with same errors on that mesa commit. time to try rollback llvm then.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #4 from Tom Englund <[email protected]> --- (In reply to Tom Englund from comment #3)
Quoted 9 lines
(In reply to ejr.phone from comment #2)
Quoted 5 lines
Alright I figured it out for me, there was a regression in llvm/clang which was giving me protection faults. I rolled back my llvm a week and built mesa with it and it works fine now.
Hope that helps people. I'll continue looking into what caused it
yeah was just about to say it still froze with same errors on that mesa commit. time to try rollback llvm then.
llvm-svn revision 320250 gives me the freezes meanwhile, 317901 doesnt. so its somewhere in between that, not sure what tooling svn have for bisecting, like git bisect. but perhaps that helps someone.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #5 from Ben <[email protected]> ---
I am the user from the Arch Forums mentioned in comment #0. Is there anything I can do to help this along?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #6 from [email protected] ---
looks like #104001 and #104159 are duplicates
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #7 from Felix Schwarz <[email protected]> --- (In reply to Tom Englund from comment #4)
Quoted 2 lines
so its somewhere in between that, not sure what tooling svn have for bisecting, like git bisect. but perhaps that helps someone.
You can use git-svn for bisecting. :-)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #8 from ojab <[email protected]> ---
JFYI: llvm has official git mirror for all repos
https://llvm.org/docs/GettingStarted.html#git-mirror
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #9 from Michel Dänzer <[email protected]> --- FWIW, I bisected some piglit regressions to LLVM SVN r319894.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #10 from Tom Englund <[email protected]> --- (In reply to Michel Dänzer from comment #9)
Quoted 1 line
FWIW, I bisected some piglit regressions to LLVM SVN r319894.
thanks, that gave me some starting points to bisecting, narrowed things down now to where r319882 works while r319894 freezes. starting to look like the same regression you are facing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #11 from Tom Englund <[email protected]> --- (In reply to Tom Englund from comment #10)
Quoted 6 lines
(In reply to Michel Dänzer from comment #9)
Quoted 1 line
FWIW, I bisected some piglit regressions to LLVM SVN r319894.
thanks, that gave me some starting points to bisecting, narrowed things down now to where r319882 works while r319894 freezes. starting to look like the same regression you are facing.
after yet another compilation, r319893 works. so it would mean this commit is the cause for the freezes/errors.
https://github.com/llvm-mirror/llvm/commit/3b06fccc7749b974d2905fe852b389b4697485b7
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
--- Comment #12 from Tom Englund <[email protected]> ---
the commit causing this have been reverted upstream, see
https://reviews.llvm.org/rL320466 . so from 320466 and up. things work again.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=104192
Tom Englund <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXEDSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel